using Viyi.Util.Linq;

namespace JamesFan.FetchAreaCodes.Consumer;

interface ICodeConsumer {
    void Consume(CodeEntry entry);

    void Consume(IEnumerable<CodeEntry> entries) {
        entries.ForEach(Consume);
    }
}
